package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 雷电预警上报市局-来自lightning_data对象 lightning_warn
 * 
 * @author ruoyi
 * @date 2024-11-03
 */
public class LightningWarn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 站点id */
    @Excel(name = "站点id")
    private String sensorId;

    /** 报警开始时间-时间戳 */
    @Excel(name = "报警开始时间-时间戳")
    private String startTime;

    /** 报警结束时间-时间戳 */
    @Excel(name = "报警结束时间-时间戳")
    private String endTime;

    /** 预警等级-1为最低级～3为最高级 */
    @Excel(name = "预警等级-1为最低级～3为最高级")
    private String alarmLevel;

    /** 风速m/s */
    @Excel(name = "风速m/s")
    private String windspeed;

    /** 风向°-正北0°，顺时针 */
    @Excel(name = "风向°-正北0°，顺时针")
    private String winddirect;

    /** 温度°C */
    @Excel(name = "温度°C")
    private String temperature;

    /** 湿度% */
    @Excel(name = "湿度%")
    private String humidity;

    /** 气压hpa */
    @Excel(name = "气压hpa")
    private String pressure;

    /** 雨量mm-24小时累计雨量 */
    @Excel(name = "雨量mm-24小时累计雨量")
    private String rainfall;

    /** 是否推送市局： 0否 1是 */
    @Excel(name = "是否推送市局： 0否 1是")
    private Integer isUpload;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSensorId(String sensorId) 
    {
        this.sensorId = sensorId;
    }

    public String getSensorId() 
    {
        return sensorId;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setAlarmLevel(String alarmLevel) 
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel() 
    {
        return alarmLevel;
    }
    public void setWindspeed(String windspeed) 
    {
        this.windspeed = windspeed;
    }

    public String getWindspeed() 
    {
        return windspeed;
    }
    public void setWinddirect(String winddirect) 
    {
        this.winddirect = winddirect;
    }

    public String getWinddirect() 
    {
        return winddirect;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setHumidity(String humidity) 
    {
        this.humidity = humidity;
    }

    public String getHumidity() 
    {
        return humidity;
    }
    public void setPressure(String pressure) 
    {
        this.pressure = pressure;
    }

    public String getPressure() 
    {
        return pressure;
    }
    public void setRainfall(String rainfall) 
    {
        this.rainfall = rainfall;
    }

    public String getRainfall() 
    {
        return rainfall;
    }
    public void setIsUpload(Integer isUpload) 
    {
        this.isUpload = isUpload;
    }

    public Integer getIsUpload() 
    {
        return isUpload;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sensorId", getSensorId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("alarmLevel", getAlarmLevel())
            .append("windspeed", getWindspeed())
            .append("winddirect", getWinddirect())
            .append("temperature", getTemperature())
            .append("humidity", getHumidity())
            .append("pressure", getPressure())
            .append("rainfall", getRainfall())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isUpload", getIsUpload())
            .toString();
    }
}
